<template>
  <div class="close">
    <div class="header">
        <!-- 背景 -->
        <div class="bg"></div>
              <!-- 导航栏 -->
       <van-nav-bar class="vsearch" left-arrow >
        <template #title>
            <div class="title">确定订单</div>
        </template>
        <template #left>
            <van-icon name="arrow-left" class="search-right" color="#C53D41" />
        </template>
      </van-nav-bar>
   
    </div>
       <!-- 内容 -->
      <div class="count">
       <!-- 预约时间 -->
          <div class="time">
              请选择自取时间
          </div>
        <!-- 商品列表 -->
        <div class="list">
            <div class="list-item">
                <div class="item-img">
                 <img src="static/image/indent/icon1.png" alt="">
                </div>
                <div class="item-text">
                    <div class="item-title">我是标题</div>
                    <div class="item-sum">
                     <div class="itme-sumtext">49元</div>
                     <div class="item-sumnumber">x1</div>
                    </div>
                    <div class="item-icon">
                        <div class="item-icons">新品</div>
                        <div class="item-icons">新新品新品品</div>
                        <div class="item-icons">新品</div>
                    </div>
                </div>
                <div>
                </div>
            </div>
            <div class="list-item">
                <div class="item-img">
                 <img src="static/image/indent/icon1.png" alt="">
                </div>
                <div class="item-text">
                    <div class="item-title">我是标题我是标题我是标题我是标题我是标题</div>
                    <div class="item-sum">
                     <div class="itme-sumtext">49元</div>
                     <div class="item-sumnumber">x1</div>
                    </div>
                    <div class="item-icon">
                        <div class="item-icons">新品</div>
                        <div class="item-icons">新新品新品品</div>
                        <div class="item-icons">新品</div>
                    </div>
                </div>
                <div>
                </div>
            </div>            <div class="list-item">
                <div class="item-img">
                 <img src="static/image/indent/icon1.png" alt="">
                </div>
                <div class="item-text">
                    <div class="item-title">我是标题我是标题我是标题我是标题我是标题</div>
                    <div class="item-sum">
                     <div class="itme-sumtext">49元</div>
                     <div class="item-sumnumber">x1</div>
                    </div>
                    <div class="item-icon">
                        <div class="item-icons">新品</div>
                        <div class="item-icons">新新品新品品</div>
                        <div class="item-icons">新品</div>
                    </div>
                </div>
                <div>
                </div>
            </div>            <div class="list-item">
                <div class="item-img">
                 <img src="static/image/indent/icon1.png" alt="">
                </div>
                <div class="item-text">
                    <div class="item-title">我是标题我是标题我是标题我是标题我是标题</div>
                    <div class="item-sum">
                     <div class="itme-sumtext">49元</div>
                     <div class="item-sumnumber">x1</div>
                    </div>
                    <div class="item-icon">
                        <div class="item-icons">新品</div>
                        <div class="item-icons">新新品新品品</div>
                        <div class="item-icons">新品</div>
                    </div>
                </div>
                <div>
                </div>
            </div>            <div class="list-item">
                <div class="item-img">
                 <img src="static/image/indent/icon1.png" alt="">
                </div>
                <div class="item-text">
                    <div class="item-title">我是标题我是标题我是标题我是标题我是标题</div>
                    <div class="item-sum">
                     <div class="itme-sumtext">49元</div>
                     <div class="item-sumnumber">x1</div>
                    </div>
                    <div class="item-icon">
                        <div class="item-icons">新品</div>
                        <div class="item-icons">新新品新品品</div>
                        <div class="item-icons">新品</div>
                    </div>
                </div>
                <div>
                </div>
            </div>            <div class="list-item">
                <div class="item-img">
                 <img src="static/image/indent/icon1.png" alt="">
                </div>
                <div class="item-text">
                    <div class="item-title">我是标题我是标题我是标题我是标题我是标题</div>
                    <div class="item-sum">
                     <div class="itme-sumtext">49元</div>
                     <div class="item-sumnumber">x1</div>
                    </div>
                    <div class="item-icon">
                        <div class="item-icons">新品</div>
                        <div class="item-icons">新新品新品品</div>
                        <div class="item-icons">新品</div>
                    </div>
                </div>
                <div>
                </div>
            </div>            <div class="list-item">
                <div class="item-img">
                 <img src="static/image/indent/icon1.png" alt="">
                </div>
                <div class="item-text">
                    <div class="item-title">我是标题我是标题我是标题我是标题我是标题</div>
                    <div class="item-sum">
                     <div class="itme-sumtext">49元</div>
                     <div class="item-sumnumber">x1</div>
                    </div>
                    <div class="item-icon">
                        <div class="item-icons">新品</div>
                        <div class="item-icons">新新品新品品</div>
                        <div class="item-icons">新品</div>
                    </div>
                </div>
                <div>
                </div>
            </div>
        </div>
        <!-- 金额 -->
        <div class="sum">
            <div class="sum-title">商品金额</div>
            <div class="sum-sum">
                <div class="sum-text">现金</div>
                <div class="sum-number">5111元</div>
            </div>
            <div class="sum-count">
                合计：<span>5111元</span>
            </div>
        </div>
        <!-- 支付方式 -->
        <div class="puy">
            <div class="puy-text">支付方式</div>
            <div class="puy-img">
             <img src="\static\image\close\alipay.png" alt="">
             <span>支付宝支付</span>
             <van-icon name="arrow" />
            </div>
        </div>
      </div>
      <!-- 底部支付按钮和金额 -->
     <div class="puy-fixed">
         <div class="puy-fixedtext">534.70元</div>
         <van-button  round color="#D83139">&nbsp;&nbsp;&nbsp;立即支付&nbsp;&nbsp;&nbsp;</van-button>
     </div>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped lang="scss">
      // 标签栏
    .bg{
       background-image: url("/static/image/indent/bg.jpg"); 
       width: 100%;
       height: 100%;
       position: absolute;
       top: 0;
       left: 0;
       bottom: 0;
       right: 0; 
       z-index: -50;
    }
    .header{
        color: #C53D41;
        .title{
            color: #C53D41;
        }
    }
    //内容区域
    // 时间
.count .time{
    background-color: #fff;
    text-align: center;
    color: #878787;
    height: 40px;
    line-height: 40px;
    margin-top: 5px;
}
//列表
.count .list{
    background-color: #fff;
    margin-top: 20px;
    //单一列表项目
    .list-item{
        display: flex;
        padding: 10px 20px;
    //图片部分
    & .item-img{
         width: 80px;
         height: 80px;
         & img{
             width: 100%;
         }
     }
    //  字体部分
     & .item-text{
         flex: 1;
         width: 70%;
         margin-left: 5px;
        & .item-title{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        // color: red;
     }
         & .item-sum{
             display: flex;
             justify-content: space-between;
             padding: 7px 0px;
            & .itme-sumtext{
                font-size: 20px;
                color: #C53D41;
                // font-weight: 700;
            }
            & .item-sumnumber{
                font-size: 12px;
                color: #878787;
            }
         }  
       & .item-icon{
           display: flex;
           font-size: 12px;
           color: #C53D41;
           & .item-icons{
               background-color: #f3babc;
               padding:2px;
               border-radius: 1px;
               margin-right: 5px;
           }
       }  
     }
    }
  
}   
//商品金额
.count .sum{
        margin-top: 10px;
        padding: 20px;
        background-color: #fff;
        & .sum-title{
            font-size: 16px;
        }
        & .sum-sum{
            display: flex;
            justify-content: space-between;
            padding-top: 20px;
            padding-bottom: 10px;
            position: relative;
        }
        & .sum-sum::before{
            content:"";
            width: 100%;
            height: 22px;
            position: absolute;
            border-bottom: 1px solid #878787;
        }
        & .sum-count{
            padding-top: 10px;
            display: flex;
            justify-content: flex-end;
            & span{
                color: #C53D41;
                padding-left:5px ;
            }
        }

}
//支付方式
.count .puy{
    margin: 10px 0;
    background: #fff;
    padding:20px;
    display: flex;
    align-items: center;
    height: 32px;
    justify-content: space-between;
    & .puy-img{
        height: 100%;
        line-height: 32px;
        display: flex;
        align-items: center;
       & img{
            height: 100%;
        }
       & span{
          padding-left: 5px;
       }
    }
}
//底部固定金额栏
.puy-fixed{
    display: flex;
    height: 64px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0%;
    box-sizing: border-box;
    // width: 100%;
    padding: 20px;
    background-color: #fff;
    align-items: center;
    justify-content: space-between;
   & > div{
       color: #C53D41;
       font-size: 18px;
   }
}
</style>